package galaxy.auth.provider.dto.reponse.music;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author Bing.Chan
 * @by 2021.05.21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AlbumRes implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty("ID")
    private  String id;

    @NotEmpty(message = "专辑名称不能为空")
    @ApiModelProperty("专辑名称")
    private  String name;

    @ApiModelProperty("歌手名称")
    private  String singer;

    @ApiModelProperty("专辑")
    private  String album;

    @ApiModelProperty("发行时间")
    private  String issueDate;

    @ApiModelProperty("封面")
    private  String cover;

    @ApiModelProperty("我的播放次数")
    private  String myPlayTimes;
}
